/**
 * Created by castle on 2015/05/27.
 */
var Activity = function(){
    return {
        init:function(){
            $.ajax({
                url:'http://api.tansuyun.cn?i=9GetJoinActivity&tsy='+getCookie('tsy'),
                data:{},
                method:'post',
                type:'json',
                success:function(d){
                    if(d.c == 200){
                        var html = '';
                        $.each(d.d,function(n,v){
                            html += ' <tr class="odd">'+ v.OrganizationName +'<td class=""></td>63796379 <td class=""> </td>63796379 <td class=" "> </td>63796379 <td class="center "> </td>'+ v.ActivityName +' <td class=" "></td>63796379 <td class=" "></td>63796379 </tr>';
                        });
                        $('#Activitys').html(html);
                    }
                },
                error:function(){

                }
            });
        }
    };
}();